/*
 * @Author: your name
 * @Date: 2021-12-06 19:08:24
 * @LastEditTime: 2021-12-07 21:18:31
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \fw\esp32\Src\Hal\hal_spi.h
 */
/*** 
 * @Author: Yanan Chen
 * @Date: 2021-11-02 13:39:49
 * @LastEditTime: 2021-11-08 15:26:58
 * @LastEditors: Yanan Chen
 * @Description: 
 * @FilePath: \esp32\Src\Hal\hal_spi.h
 * @
 */
#ifndef PRJ_SPI_H
#define PRJ_SPI_H

#ifdef __cplusplus
extern "C" {
#endif
#include "prj_cfg.h"



typedef enum 
{
    SPI_DIS_SEL_OLED,
    SPI_DIS_SEL_EPAPER,
}SPI_DIS_SEL;

extern void hal_dis_spi_init();
extern void DisBusWrite(SPI_DIS_SEL dev,void *data,int len);

#ifdef __cplusplus
}
#endif



#endif